/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Negocio;

import Base.LoginDB;
import java.sql.SQLException;

/**
 *
 * @author byron
 */
public class Login {

    public boolean Logear(String cedula, String contraseña, int bandera) throws SQLException 
    {
        LoginDB ingresar = new LoginDB();
        //System.out.println(bandera);
        return ingresar.Loguear(cedula, contraseña, bandera);
    }
    
}
